Kotlin JS GitHub Action SDK
/
com.rnett.action.io
/
io
io
object
io
Content copied to clipboard
Wrappers for
@actions/io
.
Functions
Sources
Functions
cp
Link copied to clipboard
suspend fun
cp
(source:
Path
, dest:
Path
, recursive:
Boolean
= false, force:
Boolean
= true, copySourceDirectory:
Boolean
= true)
Content copied to clipboard
Copy files.
suspend fun
cp
(source:
Path
, dest:
String
, recursive:
Boolean
= false, force:
Boolean
= true, copySourceDirectory:
Boolean
= true)
Content copied to clipboard
Copy files.
suspend fun
cp
(source:
String
, dest:
Path
, recursive:
Boolean
= false, force:
Boolean
= true, copySourceDirectory:
Boolean
= true)
Content copied to clipboard
Copy files.
suspend fun
cp
(source:
String
, dest:
String
, recursive:
Boolean
= false, force:
Boolean
= true, copySourceDirectory:
Boolean
= true)
Content copied to clipboard
Copy files.
mkdirP
Link copied to clipboard
suspend fun
mkdirP
(path:
Path
)
Content copied to clipboard
Create a directory and any parents that don't exist.
suspend fun
mkdirP
(path:
String
)
Content copied to clipboard
Create a directory and any parents that don't exist.
mv
Link copied to clipboard
suspend fun
mv
(source:
Path
, dest:
Path
, force:
Boolean
= true)
Content copied to clipboard
Move files.
suspend fun
mv
(source:
Path
, dest:
String
, force:
Boolean
= true)
Content copied to clipboard
Move files.
suspend fun
mv
(source:
String
, dest:
Path
, force:
Boolean
= true)
Content copied to clipboard
Move files.
suspend fun
mv
(source:
String
, dest:
String
, force:
Boolean
= true)
Content copied to clipboard
Move files.
rmRF
Link copied to clipboard
suspend fun
rmRF
(inputPath:
Path
)
Content copied to clipboard
Remove files recursively (
rm -rf
).
suspend fun
rmRF
(inputPath:
String
)
Content copied to clipboard
Remove files recursively (
rm -rf
).
which
Link copied to clipboard
suspend fun
which
(tool:
Path
):
Path
?
Content copied to clipboard
Get the location of a tool, or
null
if it can't be found.
suspend fun
which
(tool:
String
):
String
?
Content copied to clipboard
Get the location of a tool, or
null
if it can't be found.
Sources
js source
Link copied to clipboard